import { createApp } from 'vue'
import {createPinia} from "pinia"
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import "./assets/global.less"
import "./utils/routerHook"
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"
import "./assets/el-reset.less"
let app = createApp(App)
let pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(pinia)
app.use(ElementPlus)
app.use(router)
app.mount('#app')
